package itsense.client;



import itsense.model.ClientDTO;
import itsense.model.MemberDTO;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("beautySenseService")
public interface BeautySenseService extends RemoteService {
	  public MemberDTO login(String login,String password);	  
	  /**
	   * @gwt.typeArgs <MemberDTO>
	   */
	  public List<MemberDTO> getMembers();
	  public List<ClientDTO> getClients();
	  
	  public MemberDTO addMember(MemberDTO member);
	  public ClientDTO addClient(ClientDTO client);
	  public MemberDTO editMember(String oldLogin, String login,String password,String email, String firstName,String lastName);

	  public String removeMember(String login);
}
